xen/memop: Latch current->domain in a local variable
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 19 Aug 2016 13:28:54 +0000 (14:28 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 19 Aug 2016 17:39:48 +0000 (18:39 +0100)
commitf2c060fc972b1cb7aa7a1be35508a9ebfd564fdc
tree32d11fd506cc52f29c6e95a83206cb9f35a06a48
parentf8992212c9ee537e67f30841e3232b982d74af2b
xen/memop: Latch current->domain in a local variable

It is more efficient.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/memory.c